package pdfsetter.core.schema;

/**
 * DocumentSchemaPattern represents pattern of {@link DocumentSchema} which can be used to various sets of files. To determine DocumentSchema we need to know
 * only how many pages each file has. We obtain this schema by {@link #produceDocumentSchema(int[])} method.
 * 
 * @author Andrzej Dorobisz
 */
public interface DocumentSchemaPattern {
    DocumentSchema produceDocumentSchema(int[] fileSizes);

    int getExpectedNumberOfFiles();
}
